package android.support.v4.view;

import android.os.Build.VERSION;
import android.view.MotionEvent;

public final class r
{
  static final u a;

  static
  {
    if (Build.VERSION.SDK_INT >= 5)
    {
      a = new t();
      return;
    }
    a = new s();
  }

  public static int a(MotionEvent paramMotionEvent)
  {
    return ((paramMotionEvent.getAction() & 0xFF00) >> 8);
  }

  public static int a(MotionEvent paramMotionEvent, int paramInt)
  {
    return a.a(paramMotionEvent, paramInt);
  }

  public static int b(MotionEvent paramMotionEvent, int paramInt)
  {
    return a.b(paramMotionEvent, paramInt);
  }

  public static float c(MotionEvent paramMotionEvent, int paramInt)
  {
    return a.c(paramMotionEvent, paramInt);
  }

  public static float d(MotionEvent paramMotionEvent, int paramInt)
  {
    return a.d(paramMotionEvent, paramInt);
  }
}